package com.supostacks.rpc.server.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto extends BaseDto implements Serializable {
    private static final long serialVersionUID = -1489975757574144L;
    private String nickname;
    private String level;
    private byte[] avatar;
    private String cardKey;
    private String accountType;
    private Date activateTime;
    private Date expireTime;
    private String areaCode;
    private String areaName;
    private String sex;
    private boolean isAdmin;
}
